Developer --> Technical Publications
PATHMac OS 8 Developer Documentation > Files > Navigation Services >

Programming With Navigation Services 1.1


Translation Option Constants

Your application passes one of the NavTranslationOptions constants to the howToTranslate parameter to specify how files are to be translated by the function NavTranslateFile .

enum {
    kNavTranslateInPlace    = 0,
    kNavTranslateCopy       = 1
};
typedef UInt32  NavTranslationOptions;

Constant Descriptions

kNavTranslateInPlace
Tells Navigation Services to replace the source file with the translation. This setting is the default for Save dialog boxes.
kNavTranslateCopy
Tells Navigation Services to create a translated copy of the source file. This setting is the default for Open dialog boxes. The function NavGetFile always uses this setting under automatic translation.

© 1998 Apple Computer, Inc. – (Last Updated 23 Nov 98)

Previous | Back Up One Level | Next |